<!DOCTYPE html>
<html lang="en">
<head>
	<title>Top 10 Most ${curSort.name}<#if titleStr??> ${titleStr}</#if> Videos on TikTok Real-Time Ranking | GugeeData</title>
	<meta charset="UTF-8">
	<meta name="viewport"
	      content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
	<meta name="baidu-site-verification" content="7Kv8mw99Qh"/>
	<meta name="google-site-verification" content="YPMm_1_f59WXKSd04F1LGCjKeDGVrf_ajrylNKEDtqg"/>
	<meta name="keywords"
	      content=" TikTok Videos, TikTok Dance, Popular TikTok Songs, TikTok Hashtags, Funny TikTok, TikTok Analytics">
	<meta name="description"
	      content="These are the Top 10 most ${curSort.key}<#if titleStr??> ${titleStr?lower_case}</#if> videos on TikTok right now. ">
	<meta property="og:title"
	      content="Top 10 Most ${curSort.name}<#if titleStr??> ${titleStr}</#if> Videos on TikTok Real-Time Ranking | GugeeData">
	<meta property="og:description"
	      content="Top 10 Most ${curSort.name}<#if titleStr??> ${titleStr}</#if> Videos on TikTok Real-Time Ranking on GugeeData.">
	<meta name="twitter:title"
	      content="Top 10 Most ${curSort.name}<#if titleStr??> ${titleStr}</#if> Videos on TikTok Real-Time Ranking | GugeeData">
	<meta name="twitter:description"
	      content="Top 10 Most ${curSort.name}<#if titleStr??> ${titleStr}</#if> Videos on TikTok Real-Time Ranking on GugeeData.">
	<link rel="icon" href="${request.contextPath}/static/img/favicon.ico" type="image/x-icon"/>
	<link rel="shortcut icon" href="${request.contextPath} /static/img/favicon.ico" type="image/x-icon"/>
	<link rel="stylesheet" href="${request.contextPath}/static/css/reset.css">
    <#if isMobile == false>
		<link rel="stylesheet" href="${request.contextPath}/static/css/common.css">
		<link rel="stylesheet" href="${request.contextPath}/static/css/video.css">
    <#else>
		<link rel="stylesheet" href="${request.contextPath}/static/css/mobile/common.css">
		<link rel="stylesheet" href="${request.contextPath}/static/css/mobile/video.css">
    </#if>
    <#include "../component/facebookPixel.ftl">
</head>
<body>
<#include "../header_new.ftl">
<#if isMobile == false>
	<main>
		<section>
			<div class="wrapper wrap-video">
				<h1>${titleDescription.title}</h1>
				<h3>${titleDescription.subtitle}</h3>
				<div class="main-content">
					<div class="video-type">
						<div class="left">
							<ul>
                                <#list sortList as sort>
									<li class="<#if sort.active><#assign activeSort=sort.key/>is-active</#if>">
                                        <#if curType??>
											<a href="${contextPath}/video/${sort.key}/${curType.key}">${(sort.name == 'Spread Index')? string('Hotness', sort.name)}</a>
                                        <#else>
											<a href="${contextPath}/video/${sort.key}/all">${(sort.name == 'Spread Index')? string('Hotness', sort.name)}</a>
                                        </#if>
									</li>
                                </#list>
							</ul>
						</div>
						<div class="right">
                            <#list typeList as type>
								<a class="<#if type.active == true>is-active</#if>"
								   href="${contextPath}/video/${curSortKey}/${type.key}">${type.name}</a>
                            </#list>
                            <#if login == false>
								<a style="cursor: pointer" data-toggle="modal" data-target="#myModal">
									More
								</a>
                            <#else>
								<a style="cursor: pointer" href="https://tk.gugeedata.com/#/elements/videos">
									More
								</a>
                            </#if>
						</div>
					</div>
					<table class="tb-main">
						<thead>
						<tr>
							<th class="th-gd" width="12%">
								Hotness
							</th>
							<th class="tx-left">Video Info</th>
							<th width="8%">Views</th>
							<th width="8%">Likes</th>
							<th width="8%">Reviews</th>
							<th width="8%">Share</th>
							<th class="th-gd" width="13%">
								ER
								<i onmouseover="showTips(this)" onmouseout="hideTips(this)"
								   class="iconfont iconbangzhu">
									<div>
										Engagement Rate is calculated by <br> ( Likes + Reviews + Shares ) / Views *
										100%
									</div>
								</i>
							</th>
							<th width="8%">Action</th>
						</tr>
						</thead>
						<tbody>
                        <#list dataList as data>
							<tr>
								<td>
									<div class="td-inx">
                                        <#if (data.score gte 90)>
											<i class="iconfont iconhuo red">
												<span>${data.score}</span>
											</i>
                                        <#elseif (data.score lt 90 && data.score gte 80)>
											<i class="iconfont iconhuo orange">
												<span>${data.score}</span>
											</i>
                                        <#elseif (data.score lt 80 && data.score gte 60)>
											<i class="iconfont iconhuo green">
												<span>${data.score}</span>
											</i>
                                        <#else>
											<i class="iconfont iconhuo gray">
												<span>${data.score}</span>
											</i>
                                        </#if>
									</div>
								</td>
								<td class="tb-tiktoker">
									<div>
										<img src='${data.cover}'/>
										<div class="video-time">${data.duration}</div>
									</div>
									<div>
										<div class="tb-name" title="${data.title}">
                                            ${data.title}
										</div>
										<div class="bottom">
                                            ${data.uniqueId!''}
											<div class="time">${data.createTime}</div>
										</div>
									</div>
								</td>
								<td>${data.views}</td>
								<td>${data.likes}</td>
								<td>${data.reviews}</td>
								<td>${data.share}</td>
								<td>${data.engagementRate}</td>
								<td>
									<div class="td-detail">
                                        <#if login == false>
											<div>
												<a href="javascript:;" onclick="toLogin()">
													<i class="iconfont iconfenxi3" title="analyze">
													</i>
												</a>
											</div>
                                        <#else>
											<div>
												<a href="https://tk.gugeedata.com/#/elements/videos">
													<i class="iconfont iconfenxi3" title="analyze">
													</i>
												</a>
											</div>
                                        </#if>
										<div>
											<a href="${data.shareUrl}">
												<i class="iconfont iconbofang-copy" title="play"></i>
											</a>
										</div>
									</div>
								</td>
							</tr>
                        </#list>
						</tbody>
						<!-- tbody end -->
						<tfoot>
						<tr>
							<td colspan="8">
                                <#if login == false>
									<a href="javascript:;" onclick="toLogin()">
										<span>View More</span>
									</a>
                                <#else>
									<a href="https://tk.gugeedata.com/#/elements/videos">
										<span>View More</span>
									</a>
                                </#if>
							</td>
						</tr>
						</tfoot>
					</table>
				</div>
			</div>
		</section>
	</main>
    <#include "../footer.ftl">
	<script>
        document.addEventListener("mousedown", function (e) {
            if (e.target.classList[0] === 'search-item-link' || e.target.classList[0] === 'search-item'
                || e.target.classList[0] === 'search-box' || e.target.classList[0] === 'iconfont') {
                e.preventDefault()
            }
        }, false)
	</script>
<#else>
    <#include './mobile/index.ftl'>
</#if>
</body>
</html>
